import { defineStore } from 'pinia'

export const useConuntStore = defineStore('count', {
        actions:{
          inrment(val:number){
             this.sum +=val   
          }      
        },
        //存储数据的地方
        state() {
                return {
                        sum:6,
                        school:'atguigu'
                }
        },
        getters:{
                
        }
      
})
